﻿/***************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    This code is licensed under the Visual Studio 
    Visualization and Modeling SDK license terms.

    THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
    ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
    IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
    PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
***************************************************************************/
namespace Microsoft.VisualStudio.ArchitectureTools.CodeRepositoryQuery
{
    /// <summary>
    /// Signature of an instantiated type definition. 
    /// </summary>
    partial class TypeSignature
    {
        /// <summary>
        /// Provides a strongly typed access to the Kind of the Type signature
        /// Note that we keep <see cref="P:TypeSignatureKindAsByte"/> so that it can be used in entity framework queries filtering
        /// on the type signature Kind (because entity framework does not handle enums yet)
        /// </summary>
        public TypeSignatureKind TypeSignatureKind
        {
            get
            {
                return (TypeSignatureKind)this.TypeSignatureKindAsByte;
            }
        }
    }
}
